home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / graphics / move.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1.1 KB  |  60 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: move.c,v 1.2 1996/08/13 13:58:14 digulla Exp $    $Log
  4.     Desc:
  5.     Lang: english
  6. */
  7. #include "graphics_intern.h"
  8. #include <graphics/rastport.h>
  9.  
  10. void driver_Move (struct RastPort *, long, long);
  11.  
  12. /*****************************************************************************
  13.  
  14.     NAME */
  15.     #include <graphics/rastport.h>
  16.     #include <clib/graphics_protos.h>
  17.  
  18.     __AROS_LH3(void, Move,
  19.  
  20. /*  SYNOPSIS */
  21.     __AROS_LHA(struct RastPort *, rp, A1),
  22.     __AROS_LHA(long             , x, D0),
  23.     __AROS_LHA(long             , y, D1),
  24.  
  25. /*  LOCATION */
  26.     struct GfxBase *, GfxBase, 40, Graphics)
  27.  
  28. /*  FUNCTION
  29.  
  30.     INPUTS
  31.  
  32.     RESULT
  33.  
  34.     NOTES
  35.  
  36.     EXAMPLE
  37.  
  38.     BUGS
  39.  
  40.     SEE ALSO
  41.  
  42.     INTERNALS
  43.  
  44.     HISTORY
  45.     29-10-95    digulla automatically created from
  46.                 graphics_lib.fd and clib/graphics_protos.h
  47.  
  48. *****************************************************************************/
  49. {
  50.     __AROS_FUNC_INIT
  51.     __AROS_BASE_EXT_DECL(struct GfxBase *,GfxBase)
  52.  
  53.     rp->cp_x = x;
  54.     rp->cp_y = y;
  55.  
  56.     driver_Move (rp, x, y);
  57.  
  58.     __AROS_FUNC_EXIT
  59. } /* Move */
  60.